from Matrix import Matrix

matrix = Matrix("D:/Project/word/template/湘南学院/计算机科学与技术/","123")
    # 生成列名字典

matrix.get_num_colnum_dict()
print(matrix.path)

    # 存储每个工作表的数据

matrix.GetCourseData()



matrix.AddContent()

matrix.MergeCell()

matrix.TextCentered()

matrix.SetCellSize()
matrix.style_excel(matrix.ws)
matrix.wb.save(matrix.path+matrix.useid+"Matrix.xlsx")
